import React from 'react';
import { Tag } from 'antd';
import styles from './IconTag.less'

export default function IconTag(props) {
  const { title, icon, color } = props
  return (
    <Tag color={color} style={{opacity: '.8'}} className={styles.iconTag}>
      {icon}
      {title}
    </Tag>
  )
}
